/**
 * 
 */
package com.jisheng.xb.job;

import javax.annotation.Resource;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

import com.jisheng.xb.service.DemoService;

/**
 * @Version: 1.0
 * @Author: 丛峰
 * @Email: 3024992@qq.com
 */
public class DemoJob {
	
	private static final Logger log = LogManager.getLogger(DemoJob.class);
	
	@Resource(name = "demoService")
	DemoService demoService;
	
	private String sign;
	
	public DemoJob(){
		
	}
	
	public DemoJob(String sign){
		this.sign = sign;
	}
	
	public void doit(){
		log.info("-------------demojob----------"+this.sign+"------"+this.demoService);
	}

}
